﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="waGerencial._Default" %>

<%@ Register assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    
    <head runat="server">
        <title>Tubulação: Relatório Gerencial</title>
        <link rel="stylesheet" href="style.css" type="text/css" media="screen">
    </head>


    <body>
        <form id="Form1" runat="server">
            <div class="FiltroPainel">
            <p>
                <asp:Image ID="imgFiltro" runat="server" Height="21px" ImageUrl="~/filter.png" 
                    Width="21px" />
                <asp:Label ID="lblTituloFiltro" runat="server" Text="Filtros" class="RelatTitulo"></asp:Label>
            </p>
            <hr>
            <p>
                <ASP:Label id="lblFiltroProjeto" runat="server">Projeto</ASP:Label>
            </p>
                <ASP:DropDownList id="ddlFiltroProjeto" runat="server">
                    <ASP:ListItem value="TUB">Tubula&#231;&#227;o</ASP:ListItem>
                </ASP:DropDownList>
            <br>
            <p>
                <ASP:Label id="lblFiltroSprint" runat="server">Sprint</ASP:Label>
            </p>
            <p>
                <ASP:DropDownList id="ddlFiltroSprint" runat="server">
                    <ASP:ListItem value="PA12Q2_01">PA12Q2_01</ASP:ListItem>
                </ASP:DropDownList>
            </p>
            <p>
                <ASP:Label id="lblFiltroModulo" runat="server">Módulo</ASP:Label>
            </p>
            <p>
                <ASP:ListBox id="lbFiltroModulo" runat="server" selectionmode="Multiple">
                    <ASP:ListItem value="ControlTub">ControlTub</ASP:ListItem>
                    <ASP:ListItem value="ISICQ">ISICQ</ASP:ListItem></ASP:ListBox>
            </p>
      <p><ASP:Label id="lblFiltroComponente" runat="server">Componente</ASP:Label></p>
      <p><ASP:DropDownList id="ddlFiltroComponente" runat="server">
          <ASP:ListItem>Itens de PA</ASP:ListItem>
          <asp:ListItem>Lista</asp:ListItem>
          </ASP:DropDownList>
      </p>
      <p>

     <ASP:Button id="btnGerarRelatorio" runat="server" text="Gerar" 
              onclick="btnGerarRelatorio_Click"></ASP:Button>
      </p>
     </div> 
	 <div class="RelatPainel">
	 <br>
	 <ASP:Label id="lblTituloRelatorio" runat="server" class="RelatTitulo"></ASP:Label>
	     <asp:Image ID="Image2" runat="server" ImageUrl="~/pdf.png" class="pdfIcon"
          ToolTip="Converte para PDF" />
	 <hr>
<br />
		 <asp:Label ID="lblTituloGrafDistrTempo" runat="server" Text="Tempo" 
             class="RelatTituloGrafico" Width="577px"></asp:Label>
         <br />
		 <asp:Chart ID="chartDistrEtapa" runat="server" Width="290px" Height="220px">
             <Legends>
                 <asp:Legend Name="Legend1">
                 </asp:Legend>
             </Legends>
             <Titles>
                 <asp:Title Name="Title1">
                 </asp:Title>
             </Titles>
             <series>
                 <asp:Series Legend="Legend1" Name="Default">
                 </asp:Series>
             </series>
             <chartareas>
                 <asp:ChartArea Name="ChartArea1">
                 </asp:ChartArea>
             </chartareas>
         </asp:Chart>
		 <asp:Chart ID="chartEstimadoGasto" runat="server" Width="285px" Height="220px" 
             BorderlineColor="LightGray" BorderlineWidth="0">
             <Legends>
                 <asp:Legend Name="Legend1" LegendStyle="Column">
                     <Position Height="14" Width="30" X="66" Y="22" />
                 </asp:Legend>
             </Legends>
             <BorderSkin BorderColor="Gainsboro" />
             <Titles>
                 <asp:Title Name="Title1">
                 </asp:Title>
             </Titles>
             <series>
                 <asp:Series Legend="Legend1" Name="Estimado">
                     <SmartLabelStyle CalloutLineColor="Gainsboro" />
                 </asp:Series>
                 <asp:Series ChartArea="ChartArea1" Legend="Legend1" Name="Gasto">
                 </asp:Series>
             </series>
             <chartareas>
                 <asp:ChartArea Name="ChartArea1" BorderColor="LightGray" BorderWidth="0" 
                     ShadowColor="224, 224, 224">
                     <AxisY IsLabelAutoFit="False" LineColor="LightGray">
                         <LabelStyle Font="Microsoft Sans Serif, 7pt" />
                     </AxisY>
                     <AxisX IsLabelAutoFit="False" LineColor="LightGray">
                         <LabelStyle Font="Microsoft Sans Serif, 7pt" />
                         <ScaleBreakStyle LineColor="Gainsboro" />
                     </AxisX>
                     <AxisX2 LineColor="Gainsboro" LineDashStyle="NotSet" TitleForeColor="Gainsboro">
                         <MajorGrid LineColor="Gainsboro" />
                         <MinorGrid LineColor="Gainsboro" />
                         <MajorTickMark LineColor="Gainsboro" />
                         <MinorTickMark LineColor="Gainsboro" />
                         <ScaleBreakStyle LineColor="Gainsboro" />
                     </AxisX2>
                     <AxisY2 LineColor="Gainsboro" LineDashStyle="NotSet">
                     </AxisY2>
                 </asp:ChartArea>
             </chartareas>
         </asp:Chart>	 
	 
	 
		 <asp:Label ID="lblTituloGrafDistPend" runat="server" Text="Distribuição de Pendências" 
             class="RelatTituloGrafico" Width="577px"></asp:Label>
         <br />
		 <asp:Chart ID="chartAtivPALista" runat="server" Width="190px" Height="180px">
             <Legends>
                 <asp:Legend Name="Legend1">
                 </asp:Legend>
             </Legends>
             <Titles>
                 <asp:Title Name="Title1">
                 </asp:Title>
             </Titles>
             <series>
                 <asp:Series Legend="Legend1" Name="Default">
                 </asp:Series>
             </series>
             <chartareas>
                 <asp:ChartArea Name="ChartArea1">
                 </asp:ChartArea>
             </chartareas>
         </asp:Chart>
		 <asp:Chart ID="chartAtivPlanej" runat="server" Width="190px" Height="180px">
             <Legends>
                 <asp:Legend Name="Legend1">
                 </asp:Legend>
             </Legends>
             <Titles>
                 <asp:Title Name="Title1">
                 </asp:Title>
             </Titles>
             <series>
                 <asp:Series Legend="Legend1" Name="Default">
                 </asp:Series>
             </series>
             <chartareas>
                 <asp:ChartArea Name="ChartArea1">
                 </asp:ChartArea>
             </chartareas>
         </asp:Chart>
		 <asp:Chart ID="chartTipoPendencia" runat="server" Width="190px" Height="180px">
             <Legends>
                 <asp:Legend Name="Legend1">
                 </asp:Legend>
             </Legends>
             <Titles>
                 <asp:Title Name="Title1">
                 </asp:Title>
             </Titles>
             <series>
                 <asp:Series Legend="Legend1" Name="Default">
                 </asp:Series>
             </series>
             <chartareas>
                 <asp:ChartArea Name="ChartArea1">
                 </asp:ChartArea>
             </chartareas>
         </asp:Chart>
		<table cellspacing="1" cellpadding="1" width="100%">
            <tr>
			  <td colspan="4" class="RelatTitulo2">
				<ASP:Label id="lblAtivPlanejadas" runat="server">Atividades Planejadas</ASP:Label></td>
            </tr>
            <tr>
              <td></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivPlanejAnaliseTecnica" runat="server">Análise Técnica</ASP:Label></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivPlanejDesenvolvimento" runat="server">Desenvolvimento</ASP:Label></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivPlanejTeste" runat="server">Teste</ASP:Label></td>
            </tr>
            <tr>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivPlanejTempoEstimado" runat="server">Tempo estimado(em dias)</ASP:Label></td>
              <td><ASP:Label id="lblAtivPTeAt" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivPTeDe" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivPTeTe" runat="server"></ASP:Label></td>
            </tr>
            <tr>
              <td class="RelatTitulo3"><ASP:Label id="lblAtivPlanejTempoGasto" runat="server">Tempo gasto(em dias)</ASP:Label></td>
              <td><ASP:Label id="lblAtivPTgAt" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivPTgDe" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivPTgTe" runat="server"></ASP:Label></td>
            </tr>
        </table>
	 <br>
		<table cellspacing="1" cellpadding="1" width="100%">
            <tr>
			  <td colspan="4" class="RelatTitulo2">
				<ASP:Label id="lblAtivNPlanejadas" runat="server">Atividades Não Planejadas</ASP:Label></td>
            </tr>
            <tr>
              <td></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivNPlanejAnaliseTecnica" runat="server">Análise Técnica</ASP:Label></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivNPlanejDesenvolvimento" runat="server">Desenvolvimento</ASP:Label></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivNPlanejTeste" runat="server">Teste</ASP:Label></td>
            </tr>
            <tr>
			  <td class="RelatTitulo3"><ASP:Label id="lblAtivNPlanejTempoEstimado" runat="server">Tempo estimado(em dias)</ASP:Label></td>
              <td><ASP:Label id="lblAtivNPTeAt" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivNPTeDe" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivNPTeTe" runat="server"></ASP:Label></td>
            </tr>
            <tr>
              <td class="RelatTitulo3"><ASP:Label id="lblAtivNPlanejTempoGasto" runat="server">Tempo gasto(em dias)</ASP:Label></td>
              <td><ASP:Label id="lblAtivNPTgAt" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivNPTgDe" runat="server"></ASP:Label></td>
              <td><ASP:Label id="lblAtivNPTgTe" runat="server"></ASP:Label></td>
            </tr>
		</table>
		<br>
		 <asp:Label ID="lblTituloGrafRev" runat="server" Text="Revisões" 
             class="RelatTituloGrafico" Width="577px"></asp:Label>
         <br />
         <center>
		 <asp:Chart ID="chartOrigemRevisao" runat="server" Width="190px" Height="180px">
             <Legends>
                 <asp:Legend Name="Legend1">
                 </asp:Legend>
             </Legends>
             <Titles>
                 <asp:Title Name="Title1">
                 </asp:Title>
             </Titles>
             <series>
                 <asp:Series Legend="Legend1" Name="Default">
                 </asp:Series>
             </series>
             <chartareas>
                 <asp:ChartArea Name="ChartArea1">
                 </asp:ChartArea>
             </chartareas>
         </asp:Chart>
         </center>
        <table cellspacing="1" cellpadding="1" width="100%">
            <tr>
			  <td colspan="3" class="RelatTitulo2">
				<ASP:Label id="lblRev" runat="server">Revisões</ASP:Label></td>
			</tr>
            <tr>
              <td></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblRevGeradasTeste" runat="server">Geradas pelo teste</ASP:Label></td>
			  <td class="RelatTitulo3"><ASP:Label id="lblRevGeradasHomolog" runat="server">Geradas pela homologação</ASP:Label></td>
			</tr>
			<tr>
			  <td class="RelatTitulo3"><ASP:Label id="lblRevQtdPendecias" runat="server">Quantidade de pendências</ASP:Label></td>
			  <td></td>
			  <td></td>
			</tr>
			<tr>
			  <td class="RelatTitulo3"><ASP:Label id="lblRevTempoGasto" runat="server">Tempo gasto(em dias)</ASP:Label></td>
			  <td></td>
			  <td></td>
            </tr>
		</table>
		<br>
	 </div>

     </form>
  </body>
</html>
